#!/bin/bash

N=$1

if [ $# = 0 ]
then
  echo "Please specify the id of zookeeper cluster!"
  exit 1
fi

touch ~/zookeeper/myid

echo $N >> ~/zookeeper/myid
